// // Testing.xcconfig // iSplit // // Created by Aaron Montgomery on 10/15/10. // Copyright 2010 Monsterworks. All rights reserved. // #include "Project - Development.xcconfig" // silence assertions OTHER_CFLAGS = -DNS_BLOCK_ASSERTIONS=1 -DNDEBUG -DTESTING_COVERAGE // dead stripping may strip code we need in the tests that isn't used in the app yet DEAD_CODE_STRIPPING = NO // must silence these warnings since we are not executing assertions GCC_WARN_UNUSED_PARAMETER = NO GCC_WARN_UNUSED_VALUE = NO GCC_WARN_UNUSED_VARIABLE = NO // we have problems with this one when calling "delegate" and "datasource" GCC_WARN_STRICT_SELECTOR_MATCH = NO // llvm and clang do not produce gcno and gcda files GCC_VERSION = 4.2 // need to turn on gcov GCC_GENERATE_TEST_COVERAGE_FILES = YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES // precompiled headers will lead to mangled gcda files GCC_PRECOMPILE_PREFIX_HEADER = NO // need to load in OCMock and gcov along with usual frameworks OTHER_LDFLAGS = -ObjC -force_load $(PROJECT_DIR)/Libraries/OCMock/libOCMock.a -framework Foundation -framework SenTestingKit -framework UIKit -lgcov // need to find OCMock FRAMEWORK_SEARCH_PATHS = "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" HEADER_SEARCH_PATHS = $(PROJECT_DIR)/Libraries/**